<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>布尔</title>
    <script>
        var b1 = true;
        var b2 = false;
        var b3 = new Boolean(true);
        var b4 = new Boolean(0);
        console.log(b4);
        var b5 = new Boolean(null);
        console.log(b5);
        var b6 = new Boolean(undefined);
        console.log(b6);
    </script>
</head>
<body>

</body>
</html>